package com.matrix.java.chap_10.exercise;

public class EX10_18 {
    public static void main(String[] args) {
        String s1 = "Welcome";
        String s2 = "welcome";
        s2 = s1.replace("e", "E");
        System.out.println(s2);
        String[] s3 = "Welcome to Java and HTML".split(" ");
        s1 = s3[0];
        s2 = s3[1];
        System.out.println(s1);
        System.out.println(s2);
        String s = new String();
        System.out.println(s.length());
    }
}
